package com.chushouya.order.dto.admin.paymentlog;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 支付日志更新DTO
 */
@ApiModel("支付日志更新信息")
@Data
public class PaymentLogUpdateDTO {

    @ApiModelProperty(value = "支付日志ID", required = true)
    @NotNull(message = "支付日志ID不能为空")
    private Long logId;

    @ApiModelProperty("商户转账单号")
    private String outBizNo;

    @ApiModelProperty("支付宝转账单号")
    private String tradeNo;

    @ApiModelProperty("支付金额")
    private BigDecimal payAmount;

    @ApiModelProperty("支付渠道")
    private String payChannel;

    @ApiModelProperty("支付类型")
    private String payType;

    @ApiModelProperty("支付状态：0=待支付，1=支付成功，2=支付失败")
    private Boolean status;

    @ApiModelProperty("支付账号ID")
    private String openId;

    @ApiModelProperty("支付响应数据")
    private String responseData;
}
